package com.prs.crm.domain.oa;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.prs.crm.domain.BaseEntity;

/**
 * OA综合行政考勤管理时间设定
 * @author zhoupeng 2012-4-10
 *
 */
@Entity
@Table(name="oa_AttendanceManagement")
public class AttendanceManagement extends BaseEntity{
	private static final long serialVersionUID = 1L;
	
	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	private Integer id;
	
	/**
	 * 上下班时间模式设置:每日一次考勤记录,每日两次考勤记录
	 */
	private String isNum;
	/**
	 * 上午上班时间
	 */
	private Date morningInTime;
	/**
	 * 上午下班时间
	 */
	private Date morningOutTime;
	/**
	 * 下午上班时间
	 */
	private Date afternoonInTime;
	/**
	 * 下午下班时间
	 */
	private Date afternoonOutTime;
	/**
	 * 是否使用考勤时间段
	 */
	private String isUseTime;
	/**
	 * 考勤时间段
	 */
	private String date;
	/**
	 * 是否禁止外部IP考勤
	 */
	private String isUseIP;
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getIsNum() {
		return isNum;
	}
	public void setIsNum(String isNum) {
		this.isNum = isNum;
	}
	public Date getMorningInTime() {
		return morningInTime;
	}
	public void setMorningInTime(Date morningInTime) {
		this.morningInTime = morningInTime;
	}
	public Date getMorningOutTime() {
		return morningOutTime;
	}
	public void setMorningOutTime(Date morningOutTime) {
		this.morningOutTime = morningOutTime;
	}
	public Date getAfternoonInTime() {
		return afternoonInTime;
	}
	public void setAfternoonInTime(Date afternoonInTime) {
		this.afternoonInTime = afternoonInTime;
	}
	public Date getAfternoonOutTime() {
		return afternoonOutTime;
	}
	public void setAfternoonOutTime(Date afternoonOutTime) {
		this.afternoonOutTime = afternoonOutTime;
	}
	public String getIsUseTime() {
		return isUseTime;
	}
	public void setIsUseTime(String isUseTime) {
		this.isUseTime = isUseTime;
	}
	public String getDate() {
		return date;
	}
	public void setDate(String date) {
		this.date = date;
	}
	public String getIsUseIP() {
		return isUseIP;
	}
	public void setIsUseIP(String isUseIP) {
		this.isUseIP = isUseIP;
	}
	
}
